package com.jk.service.impl;

import com.jk.mapper.EmployeeMapper;
import com.jk.service.EmployeeService;
import com.jk.vo.Employee;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by ${user} on ${data}.
 */
@Service("employeeService")
public class EmployeeServiceImpl implements EmployeeService {
    @Autowired
    private EmployeeMapper employeeMapper;

    public List<Employee> login(String employeeName) {
       List <Employee>Employeelist =  employeeMapper.login(employeeName);
        return Employeelist;
    }

}
